<!DOCTYPE html>
<html>
<head>
	<meta charset="utf-8">
	<title>书籍修改--mytools管理后台</title>
	<meta name="renderer" content="webkit">
	<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
	<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
	<meta name="apple-mobile-web-app-status-bar-style" content="black">
	<meta name="apple-mobile-web-app-capable" content="yes">
	<meta name="format-detection" content="telephone=no">
	<link rel="stylesheet" href="../../layui/css/layui.css" media="all" />
	<link rel="stylesheet" href="../../css/public.css" media="all" />
</head>
<body class="childrenBody">
<form class="layui-form" style="width:80%;">
		<input type="hidden" class="uuid" name="uuid">
	<div class="layui-form-item layui-row layui-col-xs12">
		<label class="layui-form-label">书名</label>
		<div class="layui-input-block">
			<input type="text" class="layui-input name" name="name" lay-verify="required" placeholder="请输入书名">
		</div>
    </div>
    <div class="layui-form-item layui-row layui-col-xs12">
		<label class="layui-form-label">作者</label>
		<div class="layui-input-block">
			<input type="text" class="layui-input author" name="author" lay-verify="required" placeholder="请输入作者">
		</div>
	</div>
    <div class="layui-form-item layui-row layui-col-xs12">
		<label class="layui-form-label">网址</label>
		<div class="layui-input-block">
			<input type="text" class="layui-input url" name="url" lay-verify="required|url" placeholder="请输入书籍网址">
		</div>
	</div>
    <div class="layui-form-item layui-row layui-col-xs12">
		<label class="layui-form-label">封面</label>
		<div class="layui-input-block">
			<input type="text" class="layui-input cover" name="cover" lay-verify="required|url" placeholder="请输入封面地址">
		</div>
	</div>
    <div class="layui-form-item layui-row layui-col-xs12">
		<label class="layui-form-label">目录</label>
		<div class="layui-input-block">
			<input type="text" class="layui-input catalog" name="catalog" lay-verify="required|url" placeholder="请输入目录页地址">
		</div>
	</div>
	<div class="layui-form-item layui-form-text  layui-row layui-col-xs12">
		<label class="layui-form-label">简介</label>
		<div class="layui-input-block">
            <textarea class="layui-textarea detail" name="detail" lay-verify="required" placeholder="请输入简介" ></textarea>
		</div>
	</div>
	<div class="layui-row">
		<div class="magb15 layui-col-md6 layui-col-xs12">
			<label class="layui-form-label">状态</label>
			<div class="layui-input-block bstatus">
				<input type="radio" name="bstatus" value="0" title="连载" checked>
				<input type="radio" name="bstatus" value="1" title="完本">
				<input type="radio" name="bstatus" value="2" title="停更">
			</div>
		</div>
	</div>
	
	<div class="layui-form-item layui-row layui-col-xs12">
		<div class="layui-input-block">
			<button class="layui-btn layui-btn-sm" lay-submit="" lay-filter="editBook">提交修改</button>
			<button type="reset" class="layui-btn layui-btn-sm layui-btn-primary">重置</button>
		</div>
	</div>
</form>
<script type="text/javascript" src="../../layui/layui.js"></script>
<script type="text/javascript" src="bookEdit.js"></script>
</body>
</html>